﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StripeOne.Service.Old.Models.Common;
using System.Runtime.Serialization;

namespace StripeOne.Service.Old.Models.User
{
    [DataContract]
    public class User : UserSession
    {
        [DataMember]
        public bool IsLoggedIn { get; set; }
        [DataMember]
        public bool IsActive { get; set; }
        [DataMember]
        public string Name { get; set; }
        [DataMember]
        public string Username { get; set; }
        [IgnoreDataMember]
        public string Password { get; set; }
        [DataMember]
        public DateTime LastLogin { get; set; }
        [DataMember]
        public string Email { get; set; }
        [DataMember]
        public List<Message> Messages { get; set; }
        [DataMember]
        public Status Status { get; set; }
    }
}
